package com.hc.security.controller;

import com.hc.security.common.CommonResult;
import org.springframework.web.bind.annotation.*;

/**
 * @Author: huangcheng
 * @CreateTime: 2023-09-20  17:34
 * @Description:
 * @Version: 1.0
 */
@RestController
@RequestMapping("/user/center")
public class UserCenterController {

    @PostMapping("/login")
    public CommonResult login(@RequestParam("username") String username,
                              @RequestParam("password") String password) {
        return CommonResult.success("登录成功");
    }
}
